package com.lingxu.module.redList.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @Title: RedListTemp
 * @Package: com.lingxu.module.redList.entity
 * @Author: ysj闫世杰
 * @Email: 1105324813@qq.com
 * @Date: Created in 2023/6/25 16:54
 * @Description:  红名单比对
 * @Version: 1.0.0
 */
@Data
@TableName(value = "T_RED_LIST_TEMP")
public class RedListTemp {
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;
    @Excel(name = "姓名")
    private String name;            //姓名
    @Excel(name = "证件号码")
    private String idcard;          //证件号码
    @Excel(name = "工作单位")
    private String workOrg;            //工作单位
    @Excel(name = "干部等级")
    private String cadresLev;          //干部等级
    @Excel(name = "地区")
    private String cityName;           //地区

    private String isRed;

    private String createUser;
    private String createUserName;
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    private String status;
    private String approvalUser;
    private String approvalUserName;
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    private Date approvalTime;

    @TableField(exist = false)
    private String regionName;
    @TableField(exist = false)
    private String deptname;
}
